<template>
  <div>
    <Header/>
    <div class="view-wrap">
      <div class="left-nav">
        <Nav/>
      </div>
      <div class="view-container">
        <div class="view-content">
          <router-view></router-view>
        </div>
      </div>
    </div>
  </div>
</template>

<script setup>
import Header from '@/views/layout/header.vue'
import Nav from './layout/nav.vue';

</script>

<style lang="less" scoped>
.view-wrap{
  display: flex;
  height: calc(100vh - 50px);
  .left-nav{
    width: 300px;
    height: 100%;
    border-right: 1px solid #dcdfe6;
  }
  .view-container{
    height: 100%;
    flex: 1;
    background-color: #c6c8cd2b;
    padding: 10px;
    .view-content{
      width: 100%;
      height: 100%;
      background: white;
      border-radius: 15px;
    }
  }
}

</style>
